home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #2 / Ham Radio 2000 - Volume 2.iso / HAMV2 / TCP_IP / TNOS230S / BM.H < prev    next >
C/C++ Source or Header  |  1997-05-31  |  2KB  |  61 lines

  1.  /* Mods by G1EMM */
  2. #ifndef _BM_H
  3. #define _BM_H
  4.  
  5. #ifndef _MAILBOX_H
  6. #include "mailbox.h"
  7. #endif
  8. #ifndef _SMTP_H
  9. #include "smtp.h"
  10. #endif
  11. #ifndef _MAILUTIL_H
  12. #include "mailutil.h"
  13. #endif
  14.  
  15. /* bm.h -- definitions for bmutil.c that aren't included elsewhere */
  16.  
  17. /* number of columns and lines on a standard display, e.g. vt100 */
  18. #define    MAXCOL        80
  19. #define MAXLIN        24
  20.  
  21. #define MAXBUF        160
  22.  
  23. /* message status */
  24. #define    BM_DELETE    1
  25. #define    BM_READ        2
  26. #define    BM_FORWARDED    4
  27. #define BM_RRECEIPT     8
  28. #define BM_PERMANENT    0x2000
  29. #define BM_ONHOLD       0x4000
  30.  
  31. #define BM_NLET        200    /* default size of letter array */
  32.  
  33. #undef SLINELEN
  34. #define SLINELEN    64
  35. #undef LINELEN
  36. #define LINELEN        256
  37.  
  38. #if 0
  39. extern char *fgets();
  40. #endif
  41. extern int MbHolding;
  42.  
  43. void getlastread (struct mbx *m);
  44. void setlastread (struct mbx *m);
  45. void scanmail (struct mbx *m);
  46. int msgtofile (struct mbx *m,int msg,FILE *tfile,int noheader, int numbered);
  47. int dolistnotes (int argc,char *argv[],void *p);
  48. #ifndef _COMMANDS_H
  49. int isarea (const char *name);
  50. #endif
  51. int dodelmsg (int argc,char *argv[],void *p);
  52. int doreadmsg (int argc,char *argv[],void *p);
  53. int doreadnext (int argc,char *argv[],void *p);
  54. int mbx_reply (int argc,char *argv[],struct mbx *m,struct list **cclist,char **rhdr);
  55. int closenotes (struct mbx *m, int exiting);
  56. long isnewprivmail (struct mbx *m, const char *ext);
  57. extern int tkeywait (const char *prompt,int flush,int linemode);
  58. extern int mykeywait (char *prompt,struct mbx *m);
  59.  
  60. #endif  /* _BM_H */
  61.